package com.lhkj.ct.meta.modules.auth.common.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;

public enum UserType implements IEnum<Integer> {

    ADMIN(1,"后台人员")

    ,PLATFORM(2,"平台用户")

//    ,WXM(3,"微信小程序")
    ;

    @EnumValue
    private final int code;

    private final String desc;

    UserType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return code;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
